package com.etime.shycourse.services.impl;

import com.etime.shycourse.dao.AccountDao;
import com.etime.shycourse.pojo.Account;
import com.etime.shycourse.services.interfaces.AccountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 支付流水业务逻辑层实现类
 */
@Service
public class AccountServiceImpl implements AccountService {
    @Autowired
    private AccountDao accountDao;
    /**
     * 添加支付流水
     *
     * @param account
     * @return
     */
    @Override
    public int insertAccount(Account account) {
        return accountDao.insert(account);
    }
}
